3.1980 \(\int \frac{x^3}{(a+\frac{b}{x^3})^2} \, dx\)

Optimal. Leaf size=155 \[ -\frac{7 b^{4/3} \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )}{18 a^{10/3}}+\frac{7 b^{4/3} \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{9 a^{10/3}}-\frac{7 b^{4/3} \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{3 \sqrt{3} a^{10/3}}-\frac{7 b x}{3 a^3}+\frac{7 x^4}{12 a^2}-\frac{x^7}{3 a \left (a x^3+b\right )} \]

[Out]

(-7*b*x)/(3*a^3) + (7*x^4)/(12*a^2) - x^7/(3*a*(b + a*x^3)) - (7*b^(4/3)*ArcTan[(b^(1/3) - 2*a^(1/3)*x)/(Sqrt[
3]*b^(1/3))])/(3*Sqrt[3]*a^(10/3)) + (7*b^(4/3)*Log[b^(1/3) + a^(1/3)*x])/(9*a^(10/3)) - (7*b^(4/3)*Log[b^(2/3
) - a^(1/3)*b^(1/3)*x + a^(2/3)*x^2])/(18*a^(10/3))

________________________________________________________________________________________

Rubi [A]  time = 0.0943547, antiderivative size = 155, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 9, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.692, Rules used = {263, 288, 302, 200, 31, 634, 617, 204, 628} \[ -\frac{7 b^{4/3} \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )}{18 a^{10/3}}+\frac{7 b^{4/3} \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )}{9 a^{10/3}}-\frac{7 b^{4/3} \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{3 \sqrt{3} a^{10/3}}-\frac{7 b x}{3 a^3}+\frac{7 x^4}{12 a^2}-\frac{x^7}{3 a \left (a x^3+b\right )} \]

Antiderivative was successfully verified.

[In]

Int[x^3/(a + b/x^3)^2,x]

[Out]

(-7*b*x)/(3*a^3) + (7*x^4)/(12*a^2) - x^7/(3*a*(b + a*x^3)) - (7*b^(4/3)*ArcTan[(b^(1/3) - 2*a^(1/3)*x)/(Sqrt[
3]*b^(1/3))])/(3*Sqrt[3]*a^(10/3)) + (7*b^(4/3)*Log[b^(1/3) + a^(1/3)*x])/(9*a^(10/3)) - (7*b^(4/3)*Log[b^(2/3
) - a^(1/3)*b^(1/3)*x + a^(2/3)*x^2])/(18*a^(10/3))

Rule 263

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[x^(m + n*p)*(b + a/x^n)^p, x] /; FreeQ[{a, b, m
, n}, x] && IntegerQ[p] && NegQ[n]

Rule 288

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c^(n - 1)*(c*x)^(m - n + 1)*(a + b*x^
n)^(p + 1))/(b*n*(p + 1)), x] - Dist[(c^n*(m - n + 1))/(b*n*(p + 1)), Int[(c*x)^(m - n)*(a + b*x^n)^(p + 1), x
], x] /; FreeQ[{a, b, c}, x] && IGtQ[n, 0] && LtQ[p, -1] && GtQ[m + 1, n] &&  !ILtQ[(m + n*(p + 1) + 1)/n, 0]
&& IntBinomialQ[a, b, c, n, m, p, x]

Rule 302

Int[(x_)^(m_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Int[PolynomialDivide[x^m, a + b*x^n, x], x] /; FreeQ[{a,
b}, x] && IGtQ[m, 0] && IGtQ[n, 0] && GtQ[m, 2*n - 1]

Rule 200

Int[((a_) + (b_.)*(x_)^3)^(-1), x_Symbol] :> Dist[1/(3*Rt[a, 3]^2), Int[1/(Rt[a, 3] + Rt[b, 3]*x), x], x] + Di
st[1/(3*Rt[a, 3]^2), Int[(2*Rt[a, 3] - Rt[b, 3]*x)/(Rt[a, 3]^2 - Rt[a, 3]*Rt[b, 3]*x + Rt[b, 3]^2*x^2), x], x]
 /; FreeQ[{a, b}, x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 617

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[(a*c)/b^2]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + (2*c*x)/b], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rubi steps

\begin{align*} \int \frac{x^3}{\left (a+\frac{b}{x^3}\right )^2} \, dx &=\int \frac{x^9}{\left (b+a x^3\right )^2} \, dx\\ &=-\frac{x^7}{3 a \left (b+a x^3\right )}+\frac{7 \int \frac{x^6}{b+a x^3} \, dx}{3 a}\\ &=-\frac{x^7}{3 a \left (b+a x^3\right )}+\frac{7 \int \left (-\frac{b}{a^2}+\frac{x^3}{a}+\frac{b^2}{a^2 \left (b+a x^3\right )}\right ) \, dx}{3 a}\\ &=-\frac{7 b x}{3 a^3}+\frac{7 x^4}{12 a^2}-\frac{x^7}{3 a \left (b+a x^3\right )}+\frac{\left (7 b^2\right ) \int \frac{1}{b+a x^3} \, dx}{3 a^3}\\ &=-\frac{7 b x}{3 a^3}+\frac{7 x^4}{12 a^2}-\frac{x^7}{3 a \left (b+a x^3\right )}+\frac{\left (7 b^{4/3}\right ) \int \frac{1}{\sqrt [3]{b}+\sqrt [3]{a} x} \, dx}{9 a^3}+\frac{\left (7 b^{4/3}\right ) \int \frac{2 \sqrt [3]{b}-\sqrt [3]{a} x}{b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2} \, dx}{9 a^3}\\ &=-\frac{7 b x}{3 a^3}+\frac{7 x^4}{12 a^2}-\frac{x^7}{3 a \left (b+a x^3\right )}+\frac{7 b^{4/3} \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{9 a^{10/3}}-\frac{\left (7 b^{4/3}\right ) \int \frac{-\sqrt [3]{a} \sqrt [3]{b}+2 a^{2/3} x}{b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2} \, dx}{18 a^{10/3}}+\frac{\left (7 b^{5/3}\right ) \int \frac{1}{b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2} \, dx}{6 a^3}\\ &=-\frac{7 b x}{3 a^3}+\frac{7 x^4}{12 a^2}-\frac{x^7}{3 a \left (b+a x^3\right )}+\frac{7 b^{4/3} \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{9 a^{10/3}}-\frac{7 b^{4/3} \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{18 a^{10/3}}+\frac{\left (7 b^{4/3}\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{a} x}{\sqrt [3]{b}}\right )}{3 a^{10/3}}\\ &=-\frac{7 b x}{3 a^3}+\frac{7 x^4}{12 a^2}-\frac{x^7}{3 a \left (b+a x^3\right )}-\frac{7 b^{4/3} \tan ^{-1}\left (\frac{\sqrt [3]{b}-2 \sqrt [3]{a} x}{\sqrt{3} \sqrt [3]{b}}\right )}{3 \sqrt{3} a^{10/3}}+\frac{7 b^{4/3} \log \left (\sqrt [3]{b}+\sqrt [3]{a} x\right )}{9 a^{10/3}}-\frac{7 b^{4/3} \log \left (b^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+a^{2/3} x^2\right )}{18 a^{10/3}}\\ \end{align*}

Mathematica [A]  time = 0.0834336, size = 140, normalized size = 0.9 \[ \frac{-14 b^{4/3} \log \left (a^{2/3} x^2-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3}\right )+9 a^{4/3} x^4-\frac{12 \sqrt [3]{a} b^2 x}{a x^3+b}+28 b^{4/3} \log \left (\sqrt [3]{a} x+\sqrt [3]{b}\right )-28 \sqrt{3} b^{4/3} \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{a} x}{\sqrt [3]{b}}}{\sqrt{3}}\right )-72 \sqrt [3]{a} b x}{36 a^{10/3}} \]

Antiderivative was successfully verified.

[In]

Integrate[x^3/(a + b/x^3)^2,x]

[Out]

(-72*a^(1/3)*b*x + 9*a^(4/3)*x^4 - (12*a^(1/3)*b^2*x)/(b + a*x^3) - 28*Sqrt[3]*b^(4/3)*ArcTan[(1 - (2*a^(1/3)*
x)/b^(1/3))/Sqrt[3]] + 28*b^(4/3)*Log[b^(1/3) + a^(1/3)*x] - 14*b^(4/3)*Log[b^(2/3) - a^(1/3)*b^(1/3)*x + a^(2
/3)*x^2])/(36*a^(10/3))

________________________________________________________________________________________

Maple [A]  time = 0.007, size = 133, normalized size = 0.9 \begin{align*}{\frac{{x}^{4}}{4\,{a}^{2}}}-2\,{\frac{bx}{{a}^{3}}}-{\frac{{b}^{2}x}{3\,{a}^{3} \left ( a{x}^{3}+b \right ) }}+{\frac{7\,{b}^{2}}{9\,{a}^{4}}\ln \left ( x+\sqrt [3]{{\frac{b}{a}}} \right ) \left ({\frac{b}{a}} \right ) ^{-{\frac{2}{3}}}}-{\frac{7\,{b}^{2}}{18\,{a}^{4}}\ln \left ({x}^{2}-\sqrt [3]{{\frac{b}{a}}}x+ \left ({\frac{b}{a}} \right ) ^{{\frac{2}{3}}} \right ) \left ({\frac{b}{a}} \right ) ^{-{\frac{2}{3}}}}+{\frac{7\,{b}^{2}\sqrt{3}}{9\,{a}^{4}}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{x{\frac{1}{\sqrt [3]{{\frac{b}{a}}}}}}-1 \right ) } \right ) \left ({\frac{b}{a}} \right ) ^{-{\frac{2}{3}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3/(a+b/x^3)^2,x)

[Out]

1/4*x^4/a^2-2*b*x/a^3-1/3*b^2/a^3*x/(a*x^3+b)+7/9*b^2/a^4/(b/a)^(2/3)*ln(x+(b/a)^(1/3))-7/18*b^2/a^4/(b/a)^(2/
3)*ln(x^2-(b/a)^(1/3)*x+(b/a)^(2/3))+7/9*b^2/a^4/(b/a)^(2/3)*3^(1/2)*arctan(1/3*3^(1/2)*(2/(b/a)^(1/3)*x-1))

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/(a+b/x^3)^2,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 1.4663, size = 379, normalized size = 2.45 \begin{align*} \frac{9 \, a^{2} x^{7} - 63 \, a b x^{4} - 84 \, b^{2} x + 28 \, \sqrt{3}{\left (a b x^{3} + b^{2}\right )} \left (\frac{b}{a}\right )^{\frac{1}{3}} \arctan \left (\frac{2 \, \sqrt{3} a x \left (\frac{b}{a}\right )^{\frac{2}{3}} - \sqrt{3} b}{3 \, b}\right ) - 14 \,{\left (a b x^{3} + b^{2}\right )} \left (\frac{b}{a}\right )^{\frac{1}{3}} \log \left (x^{2} - x \left (\frac{b}{a}\right )^{\frac{1}{3}} + \left (\frac{b}{a}\right )^{\frac{2}{3}}\right ) + 28 \,{\left (a b x^{3} + b^{2}\right )} \left (\frac{b}{a}\right )^{\frac{1}{3}} \log \left (x + \left (\frac{b}{a}\right )^{\frac{1}{3}}\right )}{36 \,{\left (a^{4} x^{3} + a^{3} b\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/(a+b/x^3)^2,x, algorithm="fricas")

[Out]

1/36*(9*a^2*x^7 - 63*a*b*x^4 - 84*b^2*x + 28*sqrt(3)*(a*b*x^3 + b^2)*(b/a)^(1/3)*arctan(1/3*(2*sqrt(3)*a*x*(b/
a)^(2/3) - sqrt(3)*b)/b) - 14*(a*b*x^3 + b^2)*(b/a)^(1/3)*log(x^2 - x*(b/a)^(1/3) + (b/a)^(2/3)) + 28*(a*b*x^3
 + b^2)*(b/a)^(1/3)*log(x + (b/a)^(1/3)))/(a^4*x^3 + a^3*b)

________________________________________________________________________________________

Sympy [A]  time = 0.632313, size = 65, normalized size = 0.42 \begin{align*} - \frac{b^{2} x}{3 a^{4} x^{3} + 3 a^{3} b} + \operatorname{RootSum}{\left (729 t^{3} a^{10} - 343 b^{4}, \left ( t \mapsto t \log{\left (\frac{9 t a^{3}}{7 b} + x \right )} \right )\right )} + \frac{x^{4}}{4 a^{2}} - \frac{2 b x}{a^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3/(a+b/x**3)**2,x)

[Out]

-b**2*x/(3*a**4*x**3 + 3*a**3*b) + RootSum(729*_t**3*a**10 - 343*b**4, Lambda(_t, _t*log(9*_t*a**3/(7*b) + x))
) + x**4/(4*a**2) - 2*b*x/a**3

________________________________________________________________________________________

Giac [A]  time = 1.18039, size = 198, normalized size = 1.28 \begin{align*} -\frac{7 \, b \left (-\frac{b}{a}\right )^{\frac{1}{3}} \log \left ({\left | x - \left (-\frac{b}{a}\right )^{\frac{1}{3}} \right |}\right )}{9 \, a^{3}} - \frac{b^{2} x}{3 \,{\left (a x^{3} + b\right )} a^{3}} + \frac{7 \, \sqrt{3} \left (-a^{2} b\right )^{\frac{1}{3}} b \arctan \left (\frac{\sqrt{3}{\left (2 \, x + \left (-\frac{b}{a}\right )^{\frac{1}{3}}\right )}}{3 \, \left (-\frac{b}{a}\right )^{\frac{1}{3}}}\right )}{9 \, a^{4}} + \frac{7 \, \left (-a^{2} b\right )^{\frac{1}{3}} b \log \left (x^{2} + x \left (-\frac{b}{a}\right )^{\frac{1}{3}} + \left (-\frac{b}{a}\right )^{\frac{2}{3}}\right )}{18 \, a^{4}} + \frac{a^{6} x^{4} - 8 \, a^{5} b x}{4 \, a^{8}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/(a+b/x^3)^2,x, algorithm="giac")

[Out]

-7/9*b*(-b/a)^(1/3)*log(abs(x - (-b/a)^(1/3)))/a^3 - 1/3*b^2*x/((a*x^3 + b)*a^3) + 7/9*sqrt(3)*(-a^2*b)^(1/3)*
b*arctan(1/3*sqrt(3)*(2*x + (-b/a)^(1/3))/(-b/a)^(1/3))/a^4 + 7/18*(-a^2*b)^(1/3)*b*log(x^2 + x*(-b/a)^(1/3) +
 (-b/a)^(2/3))/a^4 + 1/4*(a^6*x^4 - 8*a^5*b*x)/a^8